home *** CD-ROM | disk | FTP | other *** search
- 23
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- ReadRegNumber
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baReadRegNumber gets a number from the Windows Registry.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baReadRegNumber( KeyName, ValueName, Default, Branch )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String, Integer, String.
- --- RECORDSEPARATOR ---
- KeyName is the name of the key.
- --- RECORDSEPARATOR ---
- ValueName is the name of the value.
- --- RECORDSEPARATOR ---
- Default is the string that is returned if the key/value doesn't exist.
- --- RECORDSEPARATOR ---
- Branch is the branch of the registry to use. Can be one of the following:
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT"
- --- RECORDSEPARATOR ---
- "HKEY_CURRENT_USER"
- --- RECORDSEPARATOR ---
- "HKEY_LOCAL_MACHINE"
- --- RECORDSEPARATOR ---
- "HKEY_USERS"
- --- RECORDSEPARATOR ---
- ΓÇ£HKEY_CURRENT_USERΓÇ¥
- --- RECORDSEPARATOR ---
- ΓÇ£HKEY_DYN_DATAΓÇ¥
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns the value associated with the Keyname. If the Keyname doesn't exist, then
- --- RECORDSEPARATOR ---
- the return will be the Default value.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set Name = baReadRegNumber( "Courses\Computers", "Course", 0,
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- Name := baReadRegNumber( "Courses\\Computers", "Course", 0,
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- This function does not work in 16 bit - the 16 bit registry can not contain numbers. If
- --- RECORDSEPARATOR ---
- used in 16 bit, the Default value will always be returned.
- --- RECORDSEPARATOR ---
- A Registry entry consists of keys and sub-keys, similar to the directories and sub-
- --- RECORDSEPARATOR ---
- directories in the Windows file system. 32 bit Windows adds Values to the registry.
- --- RECORDSEPARATOR ---
- These can be thought of as files within the key.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baReadRegString
- --- RECORDSEPARATOR ---
- baWriteRegString
- --- RECORDSEPARATOR ---
- baWriteRegNumber
- --- RECORDSEPARATOR ---
- baDeleteReg